package com.linmo.historymanage;

import java.sql.Timestamp;

public class HistoryRecordDTO {
    private int sessionId;
    private Timestamp createTime;
    private Timestamp updateTime;

    // 构造函数
    public HistoryRecordDTO(int sessionId, Timestamp createTime, Timestamp updateTime) {
        this.sessionId = sessionId;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    /**
     * 获取
     * @return sessionId
     */
    public int getSessionId() {
        return sessionId;
    }

    /**
     * 设置
     * @param sessionId
     */
    public void setSessionId(int sessionId) {
        this.sessionId = sessionId;
    }

    /**
     * 获取
     * @return createTime
     */
    public Timestamp getCreateTime() {
        return createTime;
    }

    /**
     * 设置
     * @param createTime
     */
    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取
     * @return updateTime
     */
    public Timestamp getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置
     * @param updateTime
     */
    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }

    public String toString() {
        return "SessionRecordDTO{sessionId = " + sessionId + ", createTime = " + createTime + ", updateTime = " + updateTime + "}";
    }
}